package com.itheima.domain;

import java.util.List;

public class Orders {
    private Integer id;
    private String number;
    //建立用户与订单的关联关系: 一对多
    private List<Items> itemsList;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public List <Items> getItemsList() {
        return itemsList;
    }

    public void setItemsList(List <Items> itemsList) {
        this.itemsList = itemsList;
    }
}
